public class ren {
    public static void main(String[] args) {
        sum();

    }
    public static void sum() {
        int num1 = 10;
        int num2 = 20;
        int result = num1 + num2;
        System.out.println("结果是："+result);

    }
}
